package com.ruoyi.xiaoshou.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 审核日志对象 order_audit_log
 * 
 * @author Rosou
 * @date 2025-06-17
 */
public class OrderAuditLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long auditId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 审核结果：1-通过 2-不通过 */
    @Excel(name = "审核结果：1-通过 2-不通过")
    private Long auditResult;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String auditComment;

    /** 审核人ID */
    @Excel(name = "审核人ID")
    private Long auditorId;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditTime;

    public void setAuditId(Long auditId) 
    {
        this.auditId = auditId;
    }

    public Long getAuditId() 
    {
        return auditId;
    }

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setAuditResult(Long auditResult) 
    {
        this.auditResult = auditResult;
    }

    public Long getAuditResult() 
    {
        return auditResult;
    }

    public void setAuditComment(String auditComment) 
    {
        this.auditComment = auditComment;
    }

    public String getAuditComment() 
    {
        return auditComment;
    }

    public void setAuditorId(Long auditorId) 
    {
        this.auditorId = auditorId;
    }

    public Long getAuditorId() 
    {
        return auditorId;
    }

    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("auditId", getAuditId())
            .append("orderId", getOrderId())
            .append("auditResult", getAuditResult())
            .append("auditComment", getAuditComment())
            .append("auditorId", getAuditorId())
            .append("auditTime", getAuditTime())
            .toString();
    }
}
